<template>
	<div> hello info
		<button type="button" @click="add()">button</button>
	</div>
	
</template>

<script>
	import store from '@/store';
	export default {
		name: "info",
		methods: {
			add () {
				//console.log();
				//debugger
				store.commit('increase'); 	//store.js 内的方法名
			}
		}
	}
</script>

<style scoped>
	
</style>
